﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ValidBox4Mvc.ValidRules;

namespace Domain.Model
{
    /// <summary>
    /// 城区
    /// </summary>
    public class Area : EntityBase
    {
        /// <summary>
        /// 城市名称
        /// </summary>
            [Length(30)]
        public string Name { get; set; }

        /// <summary>
        /// 市Id
        /// </summary>
        public Guid CityId { get; set; }

        public virtual City City { get; set; }
    }
}
